package com.xdap.materialselect.entity.po;

import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.Table;
import com.definesys.mpaas.query.json.MpaasDateTimeDeserializer;
import com.definesys.mpaas.query.json.MpaasDateTimeSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.Date;

/**
 * @Description:
 * @Auther:huhanrui
 * @Date:2025/9/24 09:31
 */
@Data
@Table("gcs_batch_hanle")
public class GcsBatchHanle extends SystemCommon{

    @Column("batch_no")
    private String batchNo;

    @Column("handle_status")
    private String handleStatus;


    @Column("handle_mod")
    private String handleMod;


    @Column("handle_tag")
    private String handleTag;


    @Column("product_type")
    private String productType;


    @Column("material_model")
    private String materialModel;


    @Column("limit_weight")
    private Double limitWeight;


    @Column("lock_weight")
    private Double lockWeight;


    @Column("handle_static_class")
    private String handleStaticClass;

    @JsonDeserialize(using = MpaasDateTimeDeserializer.class)
    @JsonSerialize(using = MpaasDateTimeSerializer.class)
    @Column("in_storage_date")
    private Date inStorageDate;


    @Column("seq")
    private Integer seq;


    @Column("remark")
    private String remark;


    @Column("approval_man")
    private String approvalMan;


    @Column("handle_approval")
    private String handleApproval;


    @Column("handle_uniq_time")
    private String handleUniqTime;


    @Column("belong_base")
    private String belongBase;


    @Column("handle_no")
    private String handleNo;


    @JsonDeserialize(using = MpaasDateTimeDeserializer.class)
    @JsonSerialize(using = MpaasDateTimeSerializer.class)
    @Column("production_date")
    private Date productionDate;


    @Column("customer_batch")
    private String customerBatch;
}
